﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///用户表
    ///</summary>
    [SugarTable("TMember")]
    public partial class TMember
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 账号密码登陆的账号
        /// </summary>           
        [SugarColumn(ColumnName="UserName")]
        public string UserName {get;set;}
        /// <summary>
        /// 账号密码登陆的密码
        /// </summary>           
        [SugarColumn(ColumnName="Password")]
        public string Password {get;set;}
        /// <summary>
        /// 用户码，六位，唯一的
        /// </summary>           
        [SugarColumn(ColumnName="UserCode")]
        public string UserCode {get;set;}
        /// <summary>
        /// 会话
        /// </summary>           
        [SugarColumn(ColumnName="UserToken")]
        public string UserToken {get;set;}
        /// <summary>
        /// 手机号
        /// </summary>           
        [SugarColumn(ColumnName="Phone")]
        public string Phone {get;set;}
        /// <summary>
        /// 省份
        /// </summary>           
        [SugarColumn(ColumnName="Province")]
        public string Province {get;set;}
        /// <summary>
        /// 市
        /// </summary>           
        [SugarColumn(ColumnName="City")]
        public string City {get;set;}
        /// <summary>
        /// 国家
        /// </summary>           
        [SugarColumn(ColumnName="Country")]
        public string Country {get;set;}
        /// <summary>
        /// 头像
        /// </summary>           
        [SugarColumn(ColumnName="HeadUrl")]
        public string HeadUrl {get;set;}
        /// <summary>
        /// 昵称
        /// </summary>           
        [SugarColumn(ColumnName="NickName")]
        public string NickName {get;set;}
        /// <summary>
        /// 产品编号
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 备注
        /// </summary>           
        [SugarColumn(ColumnName="Remark")]
        public string Remark {get;set;}
        /// <summary>
        /// 性别
        /// </summary>           
        [SugarColumn(ColumnName="Sex")]
        public int Sex {get;set;}
        /// <summary>
        /// 生日
        /// </summary>           
        [SugarColumn(ColumnName="Birthday")]
        public DateTime? Birthday {get;set;}
        /// <summary>
        /// 个性签名
        /// </summary>           
        [SugarColumn(ColumnName="UserCommit")]
        public string UserCommit {get;set;}
        /// <summary>
        /// 是否实名
        /// </summary>           
        [SugarColumn(ColumnName="IsRealValidation")]
        public int IsRealValidation {get;set;}
        /// <summary>
        /// 最后登陆时间
        /// </summary>           
        [SugarColumn(ColumnName="LastLoginTime")]
        public DateTime LastLoginTime {get;set;}
        /// <summary>
        /// 最后登陆IP
        /// </summary>           
        [SugarColumn(ColumnName="LastLoginIp")]
        public string LastLoginIp {get;set;}
        /// <summary>
        /// 用户创建时间
        /// </summary>           
        [SugarColumn(ColumnName="CreateTime")]
        public DateTime CreateTime {get;set;}
        /// <summary>
        /// 是否注销
        /// </summary>           
        [SugarColumn(ColumnName="IsDisable")]
        public int IsDisable {get;set;}
        /// <summary>
        /// 老版本的唯一值
        /// </summary>           
        [SugarColumn(ColumnName="UnionId")]
        public string UnionId {get;set;}
        /// <summary>
        /// 创建时的渠道号
        /// </summary>           
        [SugarColumn(ColumnName="ChannelId")]
        public string ChannelId {get;set;}
        /// <summary>
        /// 创建时的版本号
        /// </summary>           
        [SugarColumn(ColumnName="CreateVer")]
        public string CreateVer {get;set;}
        /// <summary>
        /// 是否青少年
        /// </summary>           
        [SugarColumn(ColumnName="IsYongMember")]
        public int? IsYongMember {get;set;}
        /// <summary>
        /// 密码版本号，1 为加密过。0为用md5加密。
        /// </summary>           
        [SugarColumn(ColumnName="PasswordVersion")]
        public int? PasswordVersion {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
